package com.ys.entity.amazonorder;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TB_BaseinfoSpcz", catalog="Id")
public class TbBaseinfoSpcz extends BaseEntity<TbBaseinfoSpcz> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="MaterialCn", nameJava="materialCn", typeDataBase="varchar")
	private String materialCn;
	@YsField(nameDataBase="MaterialEn", nameJava="materialEn", typeDataBase="varchar")
	private String materialEn;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TbBaseinfoSpcz setId(Long id) {
		this.id = id;
		return this;
	}
	public String getMaterialCn() {
		return materialCn;
	}
	public TbBaseinfoSpcz setMaterialCn(String materialCn) {
		this.materialCn = materialCn;
		return this;
	}
	public String getMaterialEn() {
		return materialEn;
	}
	public TbBaseinfoSpcz setMaterialEn(String materialEn) {
		this.materialEn = materialEn;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TbBaseinfoSpcz setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TbBaseinfoSpcz setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TbBaseinfoSpcz setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TbBaseinfoSpcz setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TbBaseinfoSpcz tbBaseinfoSpcz(
		String materialCn,
		String materialEn,
		String remark,
		Integer status
			) {
		TbBaseinfoSpcz entity = new TbBaseinfoSpcz();
		entity.setMaterialCn(materialCn);
		entity.setMaterialEn(materialEn);
		entity.setRemark(remark);
		entity.setStatus(status);
		return entity;
	}
}